import http from "../utils/http"

export const addOrders = (orders) => http.post("/order/addOrders",orders)
// 根据用户信息查询所有订单记录
export const findAllOrders = (id, orderStatus) => http.get(`/order/findAllOrders?id=${id}&orderStatus=${orderStatus}`)